3.3.85 \(\int \frac {1}{(1-a^2 x^2)^2 \tanh ^{-1}(a x)} \, dx\) [285]

Optimal. Leaf size=27 \[ \frac {\text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{2 a}+\frac {\log \left (\tanh ^{-1}(a x)\right )}{2 a} \]

[Out]

1/2*Chi(2*arctanh(a*x))/a+1/2*ln(arctanh(a*x))/a

________________________________________________________________________________________

Rubi [A]
time = 0.05, antiderivative size = 27, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {6115, 3393, 3382} \begin {gather*} \frac {\text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{2 a}+\frac {\log \left (\tanh ^{-1}(a x)\right )}{2 a} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[1/((1 - a^2*x^2)^2*ArcTanh[a*x]),x]

[Out]

CoshIntegral[2*ArcTanh[a*x]]/(2*a) + Log[ArcTanh[a*x]]/(2*a)

Rule 3382

Int[sin[(e_.) + (Complex[0, fz_])*(f_.)*(x_)]/((c_.) + (d_.)*(x_)), x_Symbol] :> Simp[CoshIntegral[c*f*(fz/d)
+ f*fz*x]/d, x] /; FreeQ[{c, d, e, f, fz}, x] && EqQ[d*(e - Pi/2) - c*f*fz*I, 0]

Rule 3393

Int[((c_.) + (d_.)*(x_))^(m_)*sin[(e_.) + (f_.)*(x_)]^(n_), x_Symbol] :> Int[ExpandTrigReduce[(c + d*x)^m, Sin
[e + f*x]^n, x], x] /; FreeQ[{c, d, e, f, m}, x] && IGtQ[n, 1] && ( !RationalQ[m] || (GeQ[m, -1] && LtQ[m, 1])
)

Rule 6115

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))^(p_.)*((d_) + (e_.)*(x_)^2)^(q_), x_Symbol] :> Dist[d^q/c, Subst[Int[(
a + b*x)^p/Cosh[x]^(2*(q + 1)), x], x, ArcTanh[c*x]], x] /; FreeQ[{a, b, c, d, e, p}, x] && EqQ[c^2*d + e, 0]
&& ILtQ[2*(q + 1), 0] && (IntegerQ[q] || GtQ[d, 0])

Rubi steps

\begin {align*} \int \frac {1}{\left (1-a^2 x^2\right )^2 \tanh ^{-1}(a x)} \, dx &=\frac {\text {Subst}\left (\int \frac {\cosh ^2(x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{a}\\ &=\frac {\text {Subst}\left (\int \left (\frac {1}{2 x}+\frac {\cosh (2 x)}{2 x}\right ) \, dx,x,\tanh ^{-1}(a x)\right )}{a}\\ &=\frac {\log \left (\tanh ^{-1}(a x)\right )}{2 a}+\frac {\text {Subst}\left (\int \frac {\cosh (2 x)}{x} \, dx,x,\tanh ^{-1}(a x)\right )}{2 a}\\ &=\frac {\text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{2 a}+\frac {\log \left (\tanh ^{-1}(a x)\right )}{2 a}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 27, normalized size = 1.00 \begin {gather*} \frac {\text {Chi}\left (2 \tanh ^{-1}(a x)\right )}{2 a}+\frac {\log \left (\tanh ^{-1}(a x)\right )}{2 a} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[1/((1 - a^2*x^2)^2*ArcTanh[a*x]),x]

[Out]

CoshIntegral[2*ArcTanh[a*x]]/(2*a) + Log[ArcTanh[a*x]]/(2*a)

________________________________________________________________________________________

Maple [A]
time = 2.25, size = 22, normalized size = 0.81

method result size
derivativedivides \(\frac {\frac {\ln \left (\arctanh \left (a x \right )\right )}{2}+\frac {\hyperbolicCosineIntegral \left (2 \arctanh \left (a x \right )\right )}{2}}{a}\) \(22\)
default \(\frac {\frac {\ln \left (\arctanh \left (a x \right )\right )}{2}+\frac {\hyperbolicCosineIntegral \left (2 \arctanh \left (a x \right )\right )}{2}}{a}\) \(22\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(-a^2*x^2+1)^2/arctanh(a*x),x,method=_RETURNVERBOSE)

[Out]

1/a*(1/2*ln(arctanh(a*x))+1/2*Chi(2*arctanh(a*x)))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(-a^2*x^2+1)^2/arctanh(a*x),x, algorithm="maxima")

[Out]

integrate(1/((a^2*x^2 - 1)^2*arctanh(a*x)), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 54 vs. \(2 (23) = 46\).
time = 0.34, size = 54, normalized size = 2.00 \begin {gather*} \frac {2 \, \log \left (\log \left (-\frac {a x + 1}{a x - 1}\right )\right ) + \operatorname {log\_integral}\left (-\frac {a x + 1}{a x - 1}\right ) + \operatorname {log\_integral}\left (-\frac {a x - 1}{a x + 1}\right )}{4 \, a} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(-a^2*x^2+1)^2/arctanh(a*x),x, algorithm="fricas")

[Out]

1/4*(2*log(log(-(a*x + 1)/(a*x - 1))) + log_integral(-(a*x + 1)/(a*x - 1)) + log_integral(-(a*x - 1)/(a*x + 1)
))/a

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{\left (a x - 1\right )^{2} \left (a x + 1\right )^{2} \operatorname {atanh}{\left (a x \right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(-a**2*x**2+1)**2/atanh(a*x),x)

[Out]

Integral(1/((a*x - 1)**2*(a*x + 1)**2*atanh(a*x)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(-a^2*x^2+1)^2/arctanh(a*x),x, algorithm="giac")

[Out]

integrate(1/((a^2*x^2 - 1)^2*arctanh(a*x)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.04 \begin {gather*} \int \frac {1}{\mathrm {atanh}\left (a\,x\right )\,{\left (a^2\,x^2-1\right )}^2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(atanh(a*x)*(a^2*x^2 - 1)^2),x)

[Out]

int(1/(atanh(a*x)*(a^2*x^2 - 1)^2), x)

________________________________________________________________________________________